Skip to main content

Fill position object with code in flow

public void Function1_Execute(object sender, OnExecuteEventArguments args) { Filling in a Position object with a user id long userId = 1; Position1.SetFromUser(1);

Filling a Position object with Position ID long positionId = 12; Position1.SetFromPosition(12);

Filling a Position object from a variable value Position1.SetFromPosition(VarSelectedUser.Value); In the variable value, the object that holds the user id in the value value is selected from the object on the document. }